//
//  CCYChannelTableViewCell.m
//  模拟-百思不得姐
//
//  Created by 程春玉 on 16/8/2.
//  Copyright © 2016年 chunyu. All rights reserved.
//

#import "CCYChannelTableViewCell.h"


@implementation CCYChannelTableViewCell

- (void)setMessageWithModel:(CCYRecommendModel *)model
{
    self.name.text = model.name;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = XMGVColor;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    self.name.backgroundColor = selected ? [UIColor whiteColor] : [UIColor clearColor];
    self.name.textColor = selected ? [UIColor redColor] : [UIColor blackColor];
    self.Line.hidden = !selected;
}



@end
